﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CFZS.Model
{
    /// <summary>
    /// CommAttachment:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class CommAttachment
    {
        public CommAttachment()
        { }
        #region Model
        private long _id;
        private string _title;
        private string _applyto;
        private string _refguid;
        private int? _pageamount;
        private string _filepath;
        private string _descr;
        private int? _lineno;
        private DateTime? _createdat;
        private int? _createdby;
        private string _createdbyname;
        private DateTime? _updatedat;
        private int? _updatedby;
        /// <summary>
        /// 
        /// </summary>
        public long Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 依附与那个表
        /// </summary>
        public string Applyto
        {
            set { _applyto = value; }
            get { return _applyto; }
        }
        /// <summary>
        /// 表主键
        /// </summary>
        public string RefGuid
        {
            set { _refguid = value; }
            get { return _refguid; }
        }
        /// <summary>
        /// 页数
        /// </summary>
        public int? PageAmount
        {
            set { _pageamount = value; }
            get { return _pageamount; }
        }
        /// <summary>
        /// 文件路径
        /// </summary>
        public string Filepath
        {
            set { _filepath = value; }
            get { return _filepath; }
        }
        /// <summary>
        /// 描述
        /// </summary>
        public string Descr
        {
            set { _descr = value; }
            get { return _descr; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? LineNo
        {
            set { _lineno = value; }
            get { return _lineno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? CreatedAt
        {
            set { _createdat = value; }
            get { return _createdat; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? CreatedBy
        {
            set { _createdby = value; }
            get { return _createdby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CreatedByName
        {
            set { _createdbyname = value; }
            get { return _createdbyname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? UpdatedAt
        {
            set { _updatedat = value; }
            get { return _updatedat; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? UpdatedBy
        {
            set { _updatedby = value; }
            get { return _updatedby; }
        }
        #endregion Model

    }
}
